package com.java8.function;

/**
 * @Description:
 * @Author: whp
 * @Date: 2021-02-08 16:11
 */

@FunctionalInterface
public interface FunctionDemo1<T> {
    /*
     * @Description: 此处抽象方法只能一个
     * @Param: []
     * @return void
     **/
    String tranEmail(T t);

    default void defaultDemo() {
        System.out.println("this is demofault");
    }
}
